﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Example43
{                                                        //slie 60
    interface IA
    {
       void m1();

       void m3();
    }
    class B
    {
        void m2()
        {
            Console.WriteLine("Hello C#");
        }
        
    }
   class C : B, IA
    {
       public void m1()
        {
            Console.WriteLine("Interface A");

        }
       public void m3()
        {
            Console.WriteLine("Hello Trung");
        }

        
    }
    class Program
    {
        static void Main(string[] args)
        {
            IA a = new C();
            a.m1();
            IA b = new C();
            b.m3();
            Console.ReadLine();
            return;
        }
    }
}
